//
//  FCSwitchView.h
//  OilWear
//
//  Created by jjkj on 17/7/10.
//  Copyright © 2017年 jjkj. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SwitchActionBlock)(NSInteger tag);

@interface FCSwitchView : UIView

@property (weak, nonatomic) IBOutlet UIButton *firstChooseBtn;//第一个选项

@property (weak, nonatomic) IBOutlet UIButton *secondChooseBtn;//第二个选项

@property (nonatomic,copy) SwitchActionBlock switchActionBlock;//切换按钮事件操作

@property (nonatomic,assign) NSInteger selectedIndex;//默认选中下标

- (void)setUpSwitchViewTitleWith:(NSArray *)titles;//设置选项卡标题

- (void)setUpSwitchButtonAppreace:(NSInteger)index;//设置选项卡默认选中项

@end
